USE [Finances]
GO
/****** Object:  StoredProcedure [dbo].[accountsDeleteById]    Script Date: 09/14/2008 22:05:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Kenley Capps
-- Create date: 09/14/08
-- Description:	Deletes an account by Id
-- =============================================
CREATE PROCEDURE [dbo].[accountsDeleteById] 
	-- Add the parameters for the stored procedure here
	@account_id uniqueidentifier
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	DELETE FROM accounts WHERE account_id = @account_id;
END
